colorswatch: handle clip for box-shadow
authorBenjamin Otte <otte@redhat.com>
Thu, 12 Jun 2014 12:39:12 +0000 (14:39 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 16 Jun 2014 16:43:49 +0000 (18:43 +0200)
gtk/gtkcolorswatch.c

index 21cedde65232a800d601e827cc3e89a6708804fe..ccee3ea122d6ee19ae7c335965f3c358644c3ecc 100644 (file)
@@ -30,6 +30,7 @@
 #include "gtkmenushell.h"
 #include "gtkprivate.h"
 #include "gtkintl.h"
+#include "gtkwidgetprivate.h"
 #include "a11y/gtkcolorswatchaccessibleprivate.h"
 
 
@@ -632,6 +633,8 @@ swatch_size_allocate (GtkWidget *widget,
                             allocation->y,
                             allocation->width,
                             allocation->height);
+
+  _gtk_widget_set_simple_clip (widget);
 }
 
 static gboolean